package com.myutil.utils.email;

import java.util.List;
import java.util.Map;


public class SendEmailRequest {
	//@ApiModelProperty("发件人(可不填)")
	private String from;
	
	//@NotBlank(message="收件人不能为空")
	//@ApiModelProperty("收件人(多个逗号分隔)")
	private String to;
	
	//@ApiModelProperty("抄送人(多个逗号分隔)")
	private String cc;
	
	//@ApiModelProperty("密送人(多个逗号分隔)")
	private String bcc;
	
	//@ApiModelProperty("主题")
	private String subject;
	
	//@ApiModelProperty("charset (默认)")
	private String charset="UTF-8";
	
	//@ApiModelProperty("模板名称")
	private String templateName;

	//@ApiModelProperty("模板参数")
	private Map<String, Object> templateParams;
	
	//@ApiModelProperty("邮件内容(直接发送不使用模板)")
	private String html;
	
	/*@ApiModelProperty("模板id")
	private String templateId;
	
	@ApiModelProperty("模板参数")
	private Map<String, Object> params;*/
	
	/*@ApiModelProperty("appId 统计用")*/
	//String appId;//调用方 11111 xxx-txt
	
	//@ApiModelProperty("租户id 统计用")
	//String tenantId;
	//@ApiModelProperty("附件")
	private List<EmailAttach> attachments ;
	
	public String getTo() {
		return to;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getCc() {
		return cc;
	}

	public void setCc(String cc) {
		this.cc = cc;
	}
	
	

	public String getBcc() {
		return bcc;
	}

	public void setBcc(String bcc) {
		this.bcc = bcc;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getHtml() {
		return html;
	}

	public void setHtml(String html) {
		this.html = html;
	}

	public String getTemplateName() {
		return templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}

	public Map<String, Object> getTemplateParams() {
		return templateParams;
	}

	public void setTemplateParams(Map<String, Object> templateParams) {
		this.templateParams = templateParams;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public List<EmailAttach> getAttachments() {
		return attachments;
	}

	public void setAttachments(List<EmailAttach> attachments) {
		this.attachments = attachments;
	}

	
	
}
